from app.server.flask_app.admin_views.admin_lte import AdminLTEModelView
from app.server.flask_app.admin_views.mixins import AuthMixin


class MyBaseModelView(AuthMixin, AdminLTEModelView):
    page_size = 10
    edit_modal = True
    column_display_pk = True
    create_modal = True
    can_export = True
    can_view_details = True
    column_hide_backrefs = False
    details_modal = True
    can_set_page_size = True
